<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model app\models\TaokeOrderInfo */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="taoke-order-info-form">

    <?php $form = ActiveForm::begin(); ?>

        <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? 'Create' : '保存', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>

    <?= $form->field($model, 'id')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'goodsid')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'title')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'd_title')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'pic')->textInput(['maxlength' => true]) ?>

    <!-- <?= $form->field($model, 'cid')->textInput(['maxlength' => true]) ?> -->
    <!-- 女装1   男装9   内衣 10   母婴2  化妆品 3   居家  4   鞋包配饰 5  美食 6  文体车品 7  数码家电8  -->
    <?= $form->field($model, 'cid')->dropdownList(['1' => '女装', '9' => '男装'
,'10'=>'内衣'
,'2'=>'母婴'
,'3'=>'化妆品'
,'4'=>'居家'
,'5'=>'鞋包配饰'
,'6'=>'美食'
,'7'=>'文体车品'
,'8'=>'数码家电'

    ]) ?>

        <?= $form->field($model, 'sort')->textInput() ?>

    <?= $form->field($model, 'status')->dropdownList(['0' => '上架', '1' => '下架']) ?>

    <!-- <?= $form->field($model, 'opty')->textInput(['maxlength' => true]) ?> -->

    <?= $form->field($model, 'opty')->dropdownList([''=>'无','hot' => '畅销榜', 'new' => '最新','bao' => '包邮','hai'=>'品牌','free'=>'免费']) ?>


    <?= $form->field($model, 'org_price')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'price')->textInput() ?>

    <?= $form->field($model, 'istmall')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'sales_num')->textInput() ?>

    <?= $form->field($model, 'dsr')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'sellerid')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'commission')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'commission_jihua')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'commission_queqiao')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'jihua_link')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'que_siteid')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'jihua_shenhe')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'introduce')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'quan_id')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'quan_price')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'quan_time')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'quan_surplus')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'quan_receive')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'quan_condition')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'quan_m_link')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'quan_link')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ts')->textInput() ?>

    <?= $form->field($model, 'use_cnt')->textInput() ?>






    <?php ActiveForm::end(); ?>

</div>
